CVE-2021-33203
Django AdminDocs Directory Traversal Vulnerability
Description
Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.
INFO
Published Date :
June 8, 2021, 6:15 p.m.
Last Modified :
Nov. 21, 2024, 6:08 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2021-33203
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Upgrade the Django packages.
- Update the affected python-django packages.
Public PoC/Exploit Available at Github
CVE-2021-33203 has a 5 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-33203.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-33203 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-33203
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
OpenClaw Skills Library 2,510 Production-Ready Skills for AI Agent Automation Give your OpenClaw agent the complete puzzle. Modular, observable, and safe automation workflows for Ubuntu Linux systems. Built for professionals who need reliability.
Sample Python uv application to test an AI agent
Python
None
Python HTML
None
Shell
None
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-33203 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-33203 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://docs.djangoproject.com/en/3.2/releases/security/ Added Reference https://groups.google.com/forum/#%21forum/django-announce Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ Added Reference https://security.netapp.com/advisory/ntap-20210727-0004/ Added Reference https://www.djangoproject.com/weblog/2021/jun/02/security-releases/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://groups.google.com/forum/#%21forum/django-announce [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ [No types assigned] Removed Reference MITRE https://groups.google.com/forum/#!forum/django-announce Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ -
Modified Analysis by [email protected]
Feb. 25, 2022
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 11, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ [No Types Assigned] -
Modified Analysis by [email protected]
Sep. 16, 2021
Action Type Old Value New Value Removed CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N) Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://security.netapp.com/advisory/ntap-20210727-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20210727-0004/ Third Party Advisory -
CVE Modified by [email protected]
Jul. 30, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20210727-0004/ [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 21, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://docs.djangoproject.com/en/3.2/releases/security/ No Types Assigned https://docs.djangoproject.com/en/3.2/releases/security/ Patch, Vendor Advisory Changed Reference Type https://groups.google.com/forum/#!forum/django-announce No Types Assigned https://groups.google.com/forum/#!forum/django-announce Release Notes, Third Party Advisory Changed Reference Type https://www.djangoproject.com/weblog/2021/jun/02/security-releases/ No Types Assigned https://www.djangoproject.com/weblog/2021/jun/02/security-releases/ Patch, Vendor Advisory Added CWE NIST CWE-22 Added CPE Configuration OR *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions up to (excluding) 2.2.24 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.1.12 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 3.2.0 up to (excluding) 3.2.4